package org.example.design.command.cuisine.impl;

import org.example.design.command.cook.ICook;
import org.example.design.command.cuisine.ICuisine;

/**
 * @Classname SichuanCuisine
 * @Description 川菜
 * @Date 2020/11/9 2:42 下午
 * @Created by xiangjd
 */
public class SichuanCuisine implements ICuisine {

    private ICook cook;

    public SichuanCuisine(ICook cook) {
        this.cook = cook;
    }

    @Override
    public void cook() {
        cook.doCooking();
    }
}
